<HTML>
<HEAD>
<TITLE>DefaultProjectName - DrawRectangle</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">DrawRectangle</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CGraphicsContext4032',this)" class="pathLink">CGraphicsContext</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">DrawRectangle</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','DrawRectangle3205178286','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','DrawRectangle3205178286','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','DrawRectangle3205178286','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 107</div>
<pre class="codeExamples">
void <a href="#" onMouseOver="link('_member','DrawRectangle3205178286',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;DrawRectangle&nbsp;&nbsp;(const CUInt2dRectangle & Rectangle)',CAPTION,'<strong>Brief description</strong><BR>Draws 2d rectangle to the window.');" onMouseOut="return nd();">OOXlib::CGraphicsContext::DrawRectangle</a>(const CUInt2dRectangle &amp;Rectangle)
                                                                      {
    // XDrawRectangle can generate BadDrawable , BadGC , and BadMatch errors.
    ::XDrawRectangle(<a href="#" onMouseOver="link('_member','m_pXServerConnection1078138878',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_pWindow1078138878',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>IWindow *&nbsp;&nbsp;m_pWindow ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pWindow</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_GC1078138878',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::GC&nbsp;&nbsp;m_GC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_GC</a>, Rectangle.GetPositionX(), Rectangle.GetPositionY(), Rectangle.GetWidth(), Rectangle.GetHeight());
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
